# -*- coding: utf-8 -*-
__author__ = 'chen'

from multiprocessing import Process
from time import sleep


def add(a, b):
    while True:
        sleep(1)
        print(a + b)


p1 = Process(target=add, args=(1, 1))
p2 = Process(target=add, args=(2, 2))

if __name__ == "__main__":
    p1.start()
    p2.start()
